package Manager;

import Entity.AccountDetails;
import java.util.ArrayList;

/**
 *
 * @author CONG
 */
public class AccountDetailsManager {
    private ArrayList<AccountDetails> listAccountDetails;

    public AccountDetailsManager() {
        listAccountDetails=new ArrayList<AccountDetails>();
    }
    public void getAcccountDetailsList(ArrayList<AccountDetails> ad){
    listAccountDetails.addAll(ad);
    }
    public int getSize(){
        return listAccountDetails.size();
    }
    public AccountDetails getAccountDetails(int index){
        return listAccountDetails.get(index);
    }
    public void addAccountDetails(AccountDetails accde){
        listAccountDetails.add(accde);
    }
    
}
